home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 46 / PC Gamer IT CD 46 2-2.iso / Ut / utdemo3dfx.exe / System / BotPack.u / Bot_FadeShadow_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-15  |  1.4 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5d 15 63 6c 61 73 73 20 |........|].class |
|00000010| 46 61 64 65 53 68 61 64 | 6f 77 20 65 78 70 61 6e |FadeShad|ow expan|
|00000020| 64 73 20 44 65 63 61 6c | 3b 0d 0a 0d 0a 23 65 78 |ds Decal|;....#ex|
|00000030| 65 63 20 54 45 58 54 55 | 52 45 20 49 4d 50 4f 52 |ec TEXTU|RE IMPOR|
|00000040| 54 20 4e 41 4d 45 3d 66 | 73 68 61 64 6f 77 20 46 |T NAME=f|shadow F|
|00000050| 49 4c 45 3d 54 45 58 54 | 55 52 45 53 5c 44 45 43 |ILE=TEXT|URES\DEC|
|00000060| 41 4c 53 5c 73 68 61 64 | 6f 77 5f 32 2e 50 43 58 |ALS\shad|ow_2.PCX|
|00000070| 20 4c 4f 44 53 45 54 3d | 32 20 41 4c 50 48 41 54 | LODSET=|2 ALPHAT|
|00000080| 52 49 43 4b 3d 31 0d 0a | 0d 0a 76 61 72 20 41 63 |RICK=1..|..var Ac|
|00000090| 74 6f 72 20 4c 69 67 68 | 74 53 6f 75 72 63 65 3b |tor Ligh|tSource;|
|000000a0| 0d 0a 76 61 72 20 56 65 | 63 74 6f 72 20 4f 6c 64 |..var Ve|ctor Old|
|000000b0| 4f 77 6e 65 72 4c 6f 63 | 61 74 69 6f 6e 3b 0d 0a |OwnerLoc|ation;..|
|000000c0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 42 65 67 69 6e |..functi|on Begin|
|000000d0| 50 6c 61 79 28 29 0d 0a | 7b 0d 0a 09 54 65 78 74 |Play()..|{...Text|
|000000e0| 75 72 65 2e 44 72 61 77 | 53 63 61 6c 65 20 3d 20 |ure.Draw|Scale = |
|000000f0| 44 72 61 77 53 63 61 6c | 65 3b 0d 0a 7d 0d 0a 09 |DrawScal|e;..}...|
|00000100| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 44 65 73 74 72 |..functi|on Destr|
|00000110| 6f 79 65 64 28 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |oyed()..|{...Supe|
|00000120| 72 2e 44 65 73 74 72 6f | 79 65 64 28 29 3b 0d 0a |r.Destro|yed();..|
|00000130| 09 0d 0a 09 69 66 20 28 | 20 50 6c 61 79 65 72 53 |....if (| PlayerS|
|00000140| 68 61 64 6f 77 28 4f 77 | 6e 65 72 29 20 21 3d 20 |hadow(Ow|ner) != |
|00000150| 4e 6f 6e 65 20 29 0d 0a | 09 09 50 6c 61 79 65 72 |None )..|..Player|
|00000160| 53 68 61 64 6f 77 28 4f | 77 6e 65 72 29 2e 46 61 |Shadow(O|wner).Fa|
|00000170| 64 65 53 68 61 64 6f 77 | 20 3d 20 4e 6f 6e 65 3b |deShadow| = None;|
|00000180| 0d 0a 7d 0d 0a 09 09 0d | 0a 66 75 6e 63 74 69 6f |..}.....|.functio|
|00000190| 6e 20 54 69 63 6b 28 66 | 6c 6f 61 74 20 44 65 6c |n Tick(f|loat Del|
|000001a0| 74 61 54 69 6d 65 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |taTime).|.{...loc|
|000001b0| 61 6c 20 41 63 74 6f 72 | 20 48 69 74 41 63 74 6f |al Actor| HitActo|
|000001c0| 72 2c 20 4c 3b 0d 0a 09 | 6c 6f 63 61 6c 20 56 65 |r, L;...|local Ve|
|000001d0| 63 74 6f 72 20 48 69 74 | 4e 6f 72 6d 61 6c 2c 48 |ctor Hit|Normal,H|
|000001e0| 69 74 4c 6f 63 61 74 69 | 6f 6e 2c 20 53 68 61 64 |itLocati|on, Shad|
|000001f0| 6f 77 53 74 61 72 74 2c | 20 53 68 61 64 6f 77 44 |owStart,| ShadowD|
|00000200| 69 72 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 28 4f 77 |ir;.....|if ( (Ow|
|00000210| 6e 65 72 20 3d 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 |ner == N|one) || |
|00000220| 28 4f 77 6e 65 72 2e 4f | 77 6e 65 72 20 3d 3d 20 |(Owner.O|wner == |
|00000230| 4e 6f 6e 65 29 20 29 0d | 0a 09 7b 0d 0a 09 09 44 |None) ).|..{....D|
|00000240| 65 73 74 72 6f 79 28 29 | 3b 0d 0a 09 09 72 65 74 |estroy()|;....ret|
|00000250| 75 72 6e 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 53 63 61 |urn;...}|.....Sca|
|00000260| 6c 65 47 6c 6f 77 20 2d | 3d 20 44 65 6c 74 61 54 |leGlow -|= DeltaT|
|00000270| 69 6d 65 3b 0d 0a 0d 0a | 09 69 66 20 28 20 4f 6c |ime;....|.if ( Ol|
|00000280| 64 4f 77 6e 65 72 4c 6f | 63 61 74 69 6f 6e 20 3d |dOwnerLo|cation =|
|00000290| 3d 20 4f 77 6e 65 72 2e | 4f 77 6e 65 72 2e 4c 6f |= Owner.|Owner.Lo|
|000002a0| 63 61 74 69 6f 6e 20 29 | 0d 0a 09 09 72 65 74 75 |cation )|....retu|
|000002b0| 72 6e 3b 0d 0a 09 4f 6c | 64 4f 77 6e 65 72 4c 6f |rn;...Ol|dOwnerLo|
|000002c0| 63 61 74 69 6f 6e 20 3d | 20 4f 77 6e 65 72 2e 4f |cation =| Owner.O|
|000002d0| 77 6e 65 72 2e 4c 6f 63 | 61 74 69 6f 6e 3b 0d 0a |wner.Loc|ation;..|
|000002e0| 0d 0a 09 44 65 74 61 63 | 68 44 65 63 61 6c 28 29 |...Detac|hDecal()|
|000002f0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 4f 77 6e 65 72 |;.....if| ( Owner|
|00000300| 2e 4f 77 6e 65 72 2e 62 | 48 69 64 64 65 6e 20 7c |.Owner.b|Hidden ||
|00000310| 7c 20 28 4f 77 6e 65 72 | 2e 4f 77 6e 65 72 2e 4d || (Owner|.Owner.M|
|00000320| 65 73 68 20 3d 3d 20 4e | 6f 6e 65 29 20 29 0d 0a |esh == N|one) )..|
|00000330| 09 7b 0d 0a 09 09 44 65 | 73 74 72 6f 79 28 29 3b |.{....De|stroy();|
|00000340| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 7d 0d |....retu|rn;...}.|
|00000350| 0a 0d 0a 09 69 66 20 28 | 20 53 63 61 6c 65 47 6c |....if (| ScaleGl|
|00000360| 6f 77 20 3c 20 30 2e 30 | 35 20 29 0d 0a 09 7b 0d |ow < 0.0|5 )...{.|
|00000370| 0a 09 09 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 09 |...Destr|oy();...|
|00000380| 09 72 65 74 75 72 6e 3b | 0d 0a 09 7d 0d 0a 09 69 |.return;|...}...i|
|00000390| 66 20 28 20 4c 69 67 68 | 74 53 6f 75 72 63 65 20 |f ( Ligh|tSource |
|000003a0| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 72 65 74 |== None |)....ret|
|000003b0| 75 72 6e 3b 0d 0a 0d 0a | 09 53 68 61 64 6f 77 44 |urn;....|.ShadowD|
|000003c0| 69 72 20 3d 20 4e 6f 72 | 6d 61 6c 28 4f 77 6e 65 |ir = Nor|mal(Owne|
|000003d0| 72 2e 4f 77 6e 65 72 2e | 4c 6f 63 61 74 69 6f 6e |r.Owner.|Location|
|000003e0| 20 2d 20 4c 69 67 68 74 | 53 6f 75 72 63 65 2e 4c | - Light|Source.L|
|000003f0| 6f 63 61 74 69 6f 6e 29 | 3b 0d 0a 0d 0a 09 69 66 |ocation)|;.....if|
|00000400| 20 28 20 53 68 61 64 6f | 77 44 69 72 2e 5a 20 3e | ( Shado|wDir.Z >|
|00000410| 20 30 20 29 0d 0a 09 09 | 53 68 61 64 6f 77 44 69 | 0 )....|ShadowDi|
|00000420| 72 2e 5a 20 2a 3d 20 2d | 31 3b 0d 0a 0d 0a 09 53 |r.Z *= -|1;.....S|
|00000430| 68 61 64 6f 77 53 74 61 | 72 74 20 3d 20 4f 77 6e |hadowSta|rt = Own|
|00000440| 65 72 2e 4f 77 6e 65 72 | 2e 4c 6f 63 61 74 69 6f |er.Owner|.Locatio|
|00000450| 6e 20 2b 20 4f 77 6e 65 | 72 2e 4f 77 6e 65 72 2e |n + Owne|r.Owner.|
|00000460| 43 6f 6c 6c 69 73 69 6f | 6e 52 61 64 69 75 73 20 |Collisio|nRadius |
|00000470| 2a 20 53 68 61 64 6f 77 | 44 69 72 3b 0d 0a 09 48 |* Shadow|Dir;...H|
|00000480| 69 74 41 63 74 6f 72 20 | 3d 20 54 72 61 63 65 28 |itActor |= Trace(|
|00000490| 48 69 74 4c 6f 63 61 74 | 69 6f 6e 2c 20 48 69 74 |HitLocat|ion, Hit|
|000004a0| 4e 6f 72 6d 61 6c 2c 20 | 53 68 61 64 6f 77 53 74 |Normal, |ShadowSt|
|000004b0| 61 72 74 20 2d 20 76 65 | 63 74 28 30 2c 30 2c 33 |art - ve|ct(0,0,3|
|000004c0| 30 30 29 2c 20 53 68 61 | 64 6f 77 53 74 61 72 74 |00), Sha|dowStart|
|000004d0| 2c 20 66 61 6c 73 65 29 | 3b 0d 0a 0d 0a 09 69 66 |, false)|;.....if|
|000004e0| 20 28 20 48 69 74 41 63 | 74 6f 72 20 3d 3d 20 4e | ( HitAc|tor == N|
|000004f0| 6f 6e 65 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 3b |one )...|.return;|
|00000500| 0d 0a 0d 0a 09 53 65 74 | 4c 6f 63 61 74 69 6f 6e |.....Set|Location|
|00000510| 28 48 69 74 4c 6f 63 61 | 74 69 6f 6e 29 3b 0d 0a |(HitLoca|tion);..|
|00000520| 09 53 65 74 52 6f 74 61 | 74 69 6f 6e 28 72 6f 74 |.SetRota|tion(rot|
|00000530| 61 74 6f 72 28 48 69 74 | 4e 6f 72 6d 61 6c 29 29 |ator(Hit|Normal))|
|00000540| 3b 0d 0a 09 41 74 74 61 | 63 68 44 65 63 61 6c 28 |;...Atta|chDecal(|
|00000550| 31 30 2c 20 53 68 61 64 | 6f 77 44 69 72 29 3b 0d |10, Shad|owDir);.|
|00000560| 0a 7d 0d 0a 0d 0a 00 | |.}..... | |
+--------+-------------------------+-------------------------+--------+--------+